package conson.tech.manage.app.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * InterfaceName: UserGrantCouponVo
 * Description: 优惠券用户领用出参实体
 * Author: XYF
 * Date: 2020/7/25 13:57
 * Version: 1.0
 */
@Data
public class UserGrantCouponVo {

    /**
     * 优惠券券码
     */
    @ApiModelProperty(value = "优惠券券码 ")
    private String couponsCode;
    /**
     * 有效期开始时间
     */
    @ApiModelProperty(value = "有效期开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    /**
     * 有效期结束时间
     */
    @ApiModelProperty(value = "有效期结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}
